<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="${ctx}/scripts/jquery-1.4.2.min.js"></script> 
<script type="text/javascript" src="${ctx}/scripts/jquery.pagination.js"></script>
<script   type="text/javascript" >
 $(document).ready(function() { 
	   
	  $.get("${ctx}/web/Web/showAjaxNews.do", {
	           Action:"get",newsid:"<%=request.getParameter("newsid")%>"}, function (data, textStatus){	 
	                                          
	          var objs = eval("["+data+"]");      
	          if(objs[0].id==''){
	             document.getElementById("newsid").value='';
	              $('#br_bottom').html('');
	             alert('该栏目不对外公开请登录!');
	          }else{
	          $('#nr_top').html(objs[0].categoryname);
	          $('#nr_title').html('<h2>'+objs[0].newstitle+'</h2><p>'+objs[0].newscreatetime+'</p>');
	          $("#newscontent").html('<p>&nbsp;&nbsp;&nbsp;&nbsp;'+objs[0].newscontent+'</p>');
	          }  
	       });		
 }); 
</script>
<title>专题</title>

<link href="${ctx}/css/index.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/hb.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="box">
 <input type="hidden" id="newsid" name="newsid" value="<%=request.getParameter("newsid")%>" /> 
	<div class="hb_top"><a href="http://10.78.109.32/index.jsp"><img src="${ctx}/images/web/first_ico.jpg" />返回首页</a><a href="javascript: SetHome()"><img src="${ctx}/images/web/tianjia_sc.jpg" />设为主页</a><a href="javascript: AddFavorite(window.location,document.title)"><img src="${ctx}/images/web/lx_my.jpg" />收藏本站</a></div>
    <div><img src="${ctx}/images/chanpin/d_top.jpg" /></div>
    
   <div><a href="#"><img src="${ctx}/images/chanpin/d_center.jpg" /></a></div> 
    <div style="margin-top:2px;"><img src="${ctx}/images/chanpin/d_b.jpg" /></div>
   
    <br/> 
    <div class="cp_content">
       <div class="cp_news">
        	<div class="cp_zhanshi_title">

                <span id="nr_top" > </span>
                <div class="cp_title_xian2"></div>
               <div class="clear"></div>
             </div>
        </div>     
    </div>
     <div id="nr_title" class="nr_title" >
        	<h2 id="newtitile"> </h2>
            <p id ="newscreatetime"> </p>
        </div>
        <div id ="newscontent"  class="nr_wenzi">
        	<p> </p> 
        </div>
        <div class="br_bottom" id="br_bottom"   >
        	<a href="javascript:downloadNews();" class="baocun">保存</a><a href="javascript:printNews();" class="dayin">打印</a>
        </div>
    	  
    <div class="footerd"><ul>Copyright ©2011-2012 北京车辆段 版权所有</ul>
							信息技术科 联系电话：010-51868237</div> 
</div>
</body>
</html>
